﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;

namespace ELTE.SEM.Common
{
    public class ConfigHelper
    {
        public string Value(string key)
        {
            return ConfigurationManager.AppSettings[key];
        }

        public int ValueInt(string key)
        {
            int val = 0;
            int.TryParse(Value(key), out val);
            return val;
        }
    }
}
